Class AuthenticationTask

java.lang.Object
com.cisco.pt.ptmp.task.AuthenticationTask

public class AuthenticationTask extends Object
Class to handle Packet Tracer authentication task
Author:
packettracerexapps@external.cisco.com
  • Constructor Details

    • AuthenticationTask

      public AuthenticationTask(PacketTracerSession packetTracerSession)
      Constructor for AuthenticationTask object Gets application ID and shared secret from properties file
      Parameters:
      packetTracerSession - PacketTracerSession
  • Method Details

    • authenticate

      public boolean authenticate() throws IOException
      Authentication routine
      Returns:
      boolean - true if authenticated
      Throws:
      IOException - Authentication failed